package edu.sctu.practice.class01.zhoumengxue.test.test08;

/**
 * Created by ASUS on 2015/10/12.
 */
public class Truck extends Vehicles {

    public float load;

    public Truck(String brand, String color, float load) {
        super(brand, color);
        this.load = load;
    }

    public void showTruck() {
        System.out.println("卡车商标：" + brand + "  卡车颜色：" + color + "  卡车载重为：" + load);
    }
}
